(x_set_foreground_color): Set the background of the
authorGerd Moellmann <gerd@gnu.org>
Thu, 1 Mar 2001 13:11:58 +0000 (13:11 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 1 Mar 2001 13:11:58 +0000 (13:11 +0000)
cursor GC.

src/xfns.c

index 58a965d985f408fd35e208e9515bccf1c04763ad..1add97f6599099f6626f34793f7086204fab8e6a 100644 (file)
@@ -1350,6 +1350,8 @@ x_set_foreground_color (f, arg, oldval)
                      f->output_data.x->foreground_pixel);
       XSetBackground (FRAME_X_DISPLAY (f), f->output_data.x->reverse_gc,
                      f->output_data.x->foreground_pixel);
+      XSetBackground (FRAME_X_DISPLAY (f), f->output_data.x->cursor_gc,
+                     f->output_data.x->foreground_pixel);
       UNBLOCK_INPUT;
       update_face_from_frame_parameter (f, Qforeground_color, arg);
       if (FRAME_VISIBLE_P (f))